package com.kantboot.api.phone.service;

import com.kantboot.api.phone.domain.dto.SmsSendDTO;
import com.kantboot.api.phone.domain.entity.ApiPhoneBelongTo;
import com.kantboot.api.phone.domain.entity.ApiPhoneSms;

public interface IApiPhoneService {

    /**
     * 根据手机号获取归属地
     */

    ApiPhoneBelongTo getByPhoneBelongTo(String phone);

    /**
     * 发送
     */
    ApiPhoneSms send(SmsSendDTO dto);

}
